//
//  TSWebView.h
//  Pods-TSWebKit_Example
//
//  Created by Zac on 2020/10/27.
//

#import <WebKit/WebKit.h>
#import "DWKWebView.h"

NS_ASSUME_NONNULL_BEGIN

@interface TSWebView : DWKWebView

//传递给web页面的请求header
@property (nonatomic, strong) NSDictionary *additionHeader;

/// 根据request请求页面信息
/// @param request request
/// @param additionHeader 请求header数据
- (WKNavigation *)loadRequest:(NSURLRequest *)request additionHeader:(NSDictionary *)additionHeader;
@end

NS_ASSUME_NONNULL_END
